import request from '@/utils/request'

export function getSpecificProject() {
  return request({
    url: '/progress/list',
    method: 'get'
  })
}

export function getDetail(project_id) {
  return request({
    url: '/progress/detail/' + project_id,
    method: 'get'
  })
}

export function addProgress(project_id, commit_name, commit_remark) {
  return request({
    url: '/progress/add/' + project_id + '/' + commit_name + '/' + commit_remark,
    method: 'put'
  })
}
